package edu.neu.chenhan.model;

import java.io.Serializable;
import java.util.Date;

public class Meeting implements Serializable {
    private String id;
    private String name; // 会议名称
    private String description; // 会议描述
    private String startTime; // 开始时间
    private String endTime; // 结束时间
    private String location; // 会议地点
    private String host; // 主办单位
    private String agenda; // 会议议程
    private String guests; // 嘉宾介绍
    private String coverImage; // 封面图片URL
    private boolean hasRegistration; // 是否开放注册
    private String time; // 时间

    // 默认构造函数
    public Meeting() {
        this.id = "meet_001";
        this.name = "2025人工智能标准化峰会";
        this.description = "探讨AI标准化发展路径与应用实践";
        this.startTime = "2025-09-01 09:00:00";
        this.endTime = "2025-09-01 17:00:00";
        this.location = "北京国家会议中心";
        this.host = "中国电子技术标准化研究院";
        this.agenda = "09:00-10:00 开幕式\n10:30-12:00 主题演讲\n14:00-17:00 分论坛";
        this.guests = "张教授（清华大学AI研究院）\n李博士（中科院计算所）";
        this.coverImage = "https://example.com/cover.jpg";
        this.hasRegistration = true;
    }

    // 带参构造函数
    public Meeting(String id, String name, String description, String startTime, String endTime, String location,
                   String host, String agenda, String guests, String coverImage, boolean hasRegistration) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.startTime = startTime;
        this.endTime = endTime;
        this.location = location;
        this.host = host;
        this.agenda = agenda;
        this.guests = guests;
        this.coverImage = coverImage;
        this.hasRegistration = hasRegistration;
    }

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getDescription() { return description; }
    public void setDescription(String description) { this.description = description; }

   public String getStartTime() { return startTime; }
    public void setStartTime(String startTime) { this.startTime = startTime; }

    public String getEndTime() { return endTime; }
    public void setEndTime(String endTime) { this.endTime = endTime; }

    public String getLocation() { return location; }
    public void setLocation(String location) { this.location = location; }

    public String getHost() { return host; }
    public void setHost(String host) { this.host = host; }

    public String getAgenda() { return agenda; }
    public void setAgenda(String agenda) { this.agenda = agenda; }

    public String getGuests() { return guests; }
    public void setGuests(String guests) { this.guests = guests; }

    public String getCoverImage() { return coverImage; }
    public void setCoverImage(String coverImage) { this.coverImage = coverImage; }

    public boolean isHasRegistration() { return hasRegistration; }
    public void setHasRegistration(boolean hasRegistration) { this.hasRegistration = hasRegistration; }
}